<template>
  <div class="linkStart">
    <router-link class="shell" to="/index" tag="div">
      <img :src="imglist" alt="" />
      <span class="intro">点击进入</span>
    </router-link>
  </div>
</template>
<script>
import { linkstart } from "@/api/api";
export default {
  name: "LinkStart",
  data() {
    return {
      imglist: "",
    };
  },
  methods: {},
  created() {
    linkstart().then((res) => {
      this.imglist = res.data.imgurl;
    });
  },
};
</script>

<style scoped lang="less">
.linkStart {
  height: 100vh;
  width: 100%;

  .shell {
    width: 100%;
    height: 100vh;
    #v1 {
      width: 100%;
      height: 100%;
    }
    .intro {
      position: fixed;
      bottom: 20px;
      right: 20px;
      font-size: 20px;
      color: white;
    }
    img {
      width: 100%;
      height: 100%;
    }
  }
}
</style>